package com.cnap.model.file;

import com.fasterxml.jackson.annotation.JsonIgnore;

/**
 * 分片状态响应
 *
 * @author xc
 **/
public class PatchStatusRes {
    // id
    @JsonIgnore
    private String id;
    // 索引
    private int index;
    // 状态
    private int status;

    /**
     * id
     *
     * @return id
     */
    public String getId() {
        return id;
    }

    /**
     * id
     *
     * @param id id
     */
    public void setId(String id) {
        this.id = id;
    }

    /**
     * index
     *
     * @return index
     */
    public int getIndex() {
        return index;
    }

    /**
     * set
     *
     * @param index index
     */
    public void setIndex(int index) {
        this.index = index;
    }

    /**
     * status
     *
     * @return status
     */
    public int getStatus() {
        return status;
    }

    /**
     * set
     *
     * @param status status
     */
    public void setStatus(int status) {
        this.status = status;
    }

}
